html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  list-style: none;
}

.box {
  width: 100%;
  box-sizing: border-box;
  position: absolute;
  padding: 0 12px;
  padding-bottom: 100px;

}
.he {
  overflow: hidden;
  margin-top: 50px;
  display: flex;
}
.me {
  overflow: hidden;
  margin-top: 80px;
  display: flex;
}
.h-img {
  border-radius: 50%;
  float: left;
  height: 58px;
  width: 58px;
  box-sizing: border-box;
  padding: 3px;
  border: solid 1px #eee;
  overflow: hidden;
}
.h-img img{
  width: 100%;
  height: auto;
  border-radius: 50%;
}
.m-img {
  border-radius: 50%;
  float: right;
  height: 58px;
  width: 58px;
  box-sizing: border-box;
  padding: 3px;
  border: solid 1px #eee;
  overflow: hidden;
}
.m-img img{
  border-radius: 50%;
  width: 100%;
  height: auto;
}
.h-main {
  flex: 1;
  margin-left: 12px;
  margin-right: 58px;
}
.h-main span {
  display: inline-block;
  background: #f3f3f3;
  border: solid 1px #ccc;
  color: #333;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 3px;
  margin-right: 10px;
  border-radius: 20px;
  padding: 15px;
  border-top-left-radius: 0;
  
}

.m-main {
  flex: 1;
  margin-left: 70px;
  margin-right: 12px;
  text-align: right;
}

.m-main span {
  display: inline-block;
  background: blue no-repeat;
  color: #fff;
  font-size: 20px;
  font-weight: 200;
  letter-spacing: 3px;
  border-radius: 20px;
  padding: 15px;
  border-top-right-radius: 0;
  text-align: left;
}

/* 长单词自动换行 */
.break-word {
  word-wrap: break-word;
  word-break: break-all;
}

.shuru {
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  padding: 12px;
  display: flex;
  position: fixed;
  bottom: 30px;
}
input {
  border-radius: 20px;
  flex: 1;
  height: 50px;
  box-sizing: border-box;
  padding: 0 12px;
  font-size: 18px;
  border: solid 1px #ccc;
}
button {
  float: right;
  width: 100px;
  height: 50px;
  border-radius: 20px;
  background-color: blue;
  font-size: 20px;
  color: aliceblue;
  border: none;
  margin-left: 12px;
}

header {
  width: 100%;
  position: fixed;
  z-index: 10;
  top: 0;
  text-align: center;
  height: 50px;
  line-height: 50px;
  border-bottom: solid 1px #ccc;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
}
header h1 {
  text-align: center;
  font-size: 20px;
  color: blue;
}


.msg-date{
  font-size: 12px;
  color: #999;
  /* margin: 6px 12px; */
  margin-bottom: 6px;
}